<?php
declare(strict_types=1);

namespace app\store\model;

use app\common\model\Employee as EmployeeModel;

class Employee extends EmployeeModel
{
    public function add($data)
    {
        return $this->save($data);
    }

    public function edit($data)
    {
        return $this->save($data);
    }

    public function remove()
    {
        // 删除记录
        return $this->delete();
    }

    public function getList(array $where = [])
    {
      return $this
      ->paginate(15);
    }

}
